package org.example.service;

import org.example.common.Result;
import org.example.pojo.Cart;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

/**
* @author 13326
* @description 针对表【hards_cart】的数据库操作Service
* @createDate 2025-01-10 15:10:15
*/
@Service
public interface CartService extends IService<Cart> {

    Result add(Cart cart);

    Result getall(Integer userId,Integer businessId);

    Result updatecart(Cart cart);

    Result clear(Integer userId, Integer businessId);
}
